31cf45
@@ -375,6 +375,7 @@
private void addSplitsForGroup(List<Path> dirs, TableScanOperator tableScan, Job
           currentTable, result);
     }
 
+    Utilities.clearWorkMap();
     LOG.info("number of splits " + result.size());
     perfLogger.PerfLogEnd(CLASS_NAME, PerfLogger.GET_SPLITS);
     return result.toArray(new HiveInputSplit[result.size()]);
